Skip to content

Task/cdd 3441 menu navigation#3260

Open
MeganB-2 wants to merge 17 commits into
mainfrom
task/CDD-3441-menu-navigation
Open

Task/cdd 3441 menu navigation#3260
MeganB-2 wants to merge 17 commits into
mainfrom
task/CDD-3441-menu-navigation

Conversation

@MeganB-2

@MeganB-2 MeganB-2 commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR delivers the backend support required for handling non‑public pages within menu structures.

It includes the following:

Updated PageLink.get_api_representation to:

  • Evaluate page visibility using check_permissions
  • Include only pages the user is authorised to access
  • Remove non-public pages from the response if the user lacks permission
  • Remove all non-public pages when there is no authenticated user

Fixes #CDD-3441


Type of change

Please select the options that are relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Tech debt item (this is focused solely on addressing any relevant technical debt)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests at the right levels to prove my change is effective
  • I have added screenshots or screen grabs where appropriate
  • I have added docstrings in the correct style (google)

@MeganB-2 MeganB-2 force-pushed the task/CDD-3441-menu-navigation branch 3 times, most recently from 945ed6b to ffe7cf3 Compare July 2, 2026 08:30
@MeganB-2 MeganB-2 marked this pull request as ready for review July 2, 2026 09:10
@MeganB-2 MeganB-2 requested a review from a team as a code owner July 2, 2026 09:10
@MeganB-2 MeganB-2 force-pushed the task/CDD-3441-menu-navigation branch from eeb4429 to f307e44 Compare July 3, 2026 09:16
@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant